<template>
  <h1>编辑器</h1>
  <div>{{ value }}</div>
  <monaco-editor v-model="value" />
</template>

<script lang="ts" setup>
import { ref } from 'vue';
import MonacoEditor from "@/components/monaco-editor.vue";

const value = ref('const a = 1;');
</script>

<style lang="scss" scoped>
</style>
